#ifndef LOGIC_CLEAR_H
#define LOGIC_CLEAR_H

#include <iostream>
#include <string>
#include <vector>

#include "Parser.h"
#include "Data.h"
#include "Task.h"
#include "Writer.h"

#include <boost\date_time.hpp>

using namespace std;
using namespace boost::posix_time;
using namespace boost::gregorian;

class LogicClear {
public:
	string clearTask( vector<Task>& tasksVector, Data* _data, Writer* _writer);

private:
	static const string CLEAR_SUCCESS_MESSAGE;

	static const string CLEAR_ERROR_MESSAGE;

	void copyTasks(vector<Task>& tasks, vector<Task>& tasksVector);
};
#endif